package com.px.business.domain;

import com.px.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * 调查问卷试题对象 qnr_questions
 *
 * @author 品讯科技
 * @date 2024-08
 */
@Data
public class QnrQuestions {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Long questionsId;

    /**
     * 问题描述
     */
    @Excel(name = "问题描述")
    private String questionsDescription;

    /**
     * 问题类别（1.单选 2.多选 3.简答）
     */
    @Excel(name = "问题类别", readConverterExp = "1=.单选,2=.多选,3=.简答")
    private String questionsType;

    /**
     * 选项
     */
    @Excel(name = "选项")
    private String questionsOptions;

    /**
     * 满分
     */
    @Excel(name = "满分")
    private Long fullScore;

    /**
     * 序号
     */
    @Excel(name = "序号")
    private Long seqNo;

    /**
     * 启用标志
     */
    @Excel(name = "启用标志")
    private String enabledFlag;

    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdAt;

    /**
     * 创建人
     */
    @Excel(name = "创建人")
    private Long createdBy;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "修改时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date modifiedAt;

    /**
     * 修改人
     */
    @Excel(name = "修改人")
    private Long modifiedBy;

    private List<QnrQuestionsOptions> qnrQuestionsOptionsList;

    private List<Long> StrQuestionsIdList;

    /**
     * 创建人名称
     */
    private String createdName;

    private  Long paperQuestionsId;

}
